package permission

import (
	cachePkg "HeadLineNews/pkg/db/cache"
	"github.com/go-redis/redis/v8"
)

type cache struct {
	cli *redis.Client
}

func NewCache() *cache {
	return &cache{cachePkg.AdminPermCache()}
}
